$(function(){
var zizhi =[];
zizhi['sitename'] ='创业邦';
zizhi['companyname'] = '北京创展互联科技有限公司';
zizhi['address'] = '北京市海淀区学院南路49号1幢3层307房间';
zizhi['area'] = '北京';
zizhi['tel'] ='400-0078-263';

var getHost = function(url) {
	var host = "null";
	if (typeof url == "undefined"
			|| null == url)
		url = window.location.href;
	var regex = /.*\:\/\/([^\/|:]*).*/;
	var match = url.match(regex);
	if (typeof match != "undefined"
			&& null != match) {
		host = match[1];
	}
	if (typeof host != "undefined"
			&& null != host) {
		var strAry = host.split(".");
		if (strAry.length > 1) {
			host = strAry[strAry.length - 2] + "." + strAry[strAry.length - 1];
		}
	}
	return host;
}
var burl = getHost();
var newdomian = 'www.5198.com,www.5198.cn,www.667817.com,www.667813.com,www.667812.com,www.667695.com,www.667692.com,www.667691.com,www.667687.com,www.667683.com,www.667682.com,www.667671.com,www.667659.com,www.667656.com,www.667652.com,www.667651.com,www.667639.com,www.667637.com,www.667635.com,www.667597.com,www.665817.com,www.665816.com,www.665811.com,www.665797.com,www.665796.com,www.665731.com,www.665729.com,www.665727.com,www.665726.com,www.665725.com,www.665723.com,www.661725.com,www.661737.com,www.661759.com,www.661762.com,www.661763.com,www.661781.com,www.661782.com,www.661787.com,www.661791.com,www.661792.com,www.661793.com,www.661795.com,www.661796.com,www.661797.com,www.661798.com,www.661826.com,www.661831.com,www.661832.com,www.661836.com,www.661837.com,www.661852.com,www.661856.com,www.661857.com,www.661859.com,www.661862.com,www.661863.com,www.661865.com,www.661867.com,www.661868.com,www.661869.com,www.661871.com,www.661872.com,www.663769.com,www.663785.com,www.663786.com,www.663791.com,www.663792.com,www.663793.com,www.663795.com,www.663796.com,www.663797.com,www.663812.com,www.663815.com,www.663816.com,www.663817.com,www.663821.com,www.663823.com,www.663825.com,www.663826.com,www.663827.com,www.663829.com,www.663831.com,www.663832.com,www.663835.com,www.663837.com,www.663851.com,www.663852.com,www.663853.com,www.663857.com,www.663859.com,www.663861.com,www.663862.com,www.663863.com,www.663865.com,www.663867.com,www.663868.com,www.663869.com,www.663871.com,www.663872.com,www.663873.com,www.663875.com,zs.667817.com,zs.667813.com,zs.667812.com,zs.667695.com,zs.667692.com,zs.667691.com,zs.667687.com,zs.667683.com,zs.667682.com,zs.667671.com,zs.667659.com,zs.667656.com,zs.667652.com,zs.667651.com,zs.667639.com,zs.667637.com,zs.667635.com,zs.667597.com,zs.665817.com,zs.665816.com,zs.665811.com,zs.665797.com,zs.665796.com,zs.665731.com,zs.665729.com,zs.665727.com,zs.665726.com,zs.665725.com,zs.665723.com,zs.661725.com,zs.661737.com,zs.661759.com,zs.661762.com,zs.661763.com,zs.661781.com,zs.661782.com,zs.661787.com,zs.661791.com,zs.661792.com,zs.661793.com,zs.661795.com,zs.661796.com,zs.661797.com,zs.661798.com,zs.661826.com,zs.661831.com,zs.661832.com,zs.661836.com,zs.661837.com,zs.661852.com';
if(newdomian.indexOf(burl)!=-1){
	zizhi['sitename'] ='创业盟';
	zizhi['companyname'] = '北京伍壹玖捌科技有限公司';
	zizhi['address'] = '北京市丰台区汽车博物馆东路1号院3号楼27层2706-4（园区）';
	zizhi['tel'] ='010-57740288';
}

var abouthtml = $('#abouthtml').html();
abouthtml = ReplaceAll(abouthtml,'{sitename}',zizhi['sitename']);
abouthtml = ReplaceAll(abouthtml,'{companyname}',zizhi['companyname']);
abouthtml = ReplaceAll(abouthtml,'{address}',zizhi['address']);
abouthtml = ReplaceAll(abouthtml,'{tel}',zizhi['tel']);
$('#abouthtml').html(abouthtml);


function ReplaceAll(str, sptr, sptr1){
	while (str.indexOf(sptr) >= 0){
	   str = str.replace(sptr, sptr1);
	}
	return str;
}
});

